{{include file='home/header.tpl'}}
<div id="main">
	<div class="container">
		{{if !empty($side)}}
		{{include file="home/sidecate.tpl"}}
		{{else}}
		{{if !empty($block)}}
		{{include file='home/sidebar-training.tpl'}}
		{{else}}
		{{assign var="block" value=""}}
		{{include file='home/sidebar-training.tpl'}}
		{{/if}}
		{{/if}}
		<div class="main-right">
			<div class="main-title">
				<h1>{{h($cateNow.0.CateName)}}</h1>
				{{include file='home/crumbs.tpl'}}
			</div>
			<div class="main-content">
				<ul class="article-list">
					{{foreach $data as $v}}
					<li>
						<a href="{{site_url("home/content?Id={{$v.Id}}")}}" target="_blank">{{str_cut(($v.Title),120)}}</a>
						<span>
							{{if !empty($v.PubTime)}}
							{{date('Y-m-d',$v.PubTime)}}
							{{else}}
							{{date('Y-m-d',$v.Time)}}
							{{/if}}
						</span>
					</li>
					{{/foreach}}
				</ul>
				{{include file='home/page.tpl'}}
			</div>
		</div>
	</div>
</div>
{{include file='home/footer.tpl'}}
